<?php namespace Home\Model;

use Framework\Model\Model;

class Stu extends Model
{
	protected $table ='stu';

	public function find($id)
	{
		
		if($data = $this->where('id='.$id)->select())
		{	//获取未知字符键名数组第一个元素的值		
			return current($data);
		}

	}
}